<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Alliance_model extends MY_Model
{
    function Alliance_model()
    {
        parent::MY_Model();
    }
    function ww_create_alliance($uid, $name, $abb, $desc)
	{
		$this->exeQuery("CALL ww_create_alliance('$uid', '$name', '$abb', '$desc');");
	}
	function ww_get_alliance($uid)
	{
		return $this->getRowsOnMultiQuery("CALL ww_get_alliance('$uid');");
	}
}